package com.eportal.dao;

import com.eportal.domain.Sysopt;
import com.eportal.entity.TCbuildingEntity;
import com.eportal.vo.controller.background.cbuilding.CBuildingSelectListVO;
import com.framework.jqgrid.MyMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface TCbuildingEntityMapper extends MyMapper<TCbuildingEntity> {

    /**
     * 楼栋列表（下拉）
     * @author Saber
     * @Date 2017/8/10 上午9:13
     * @param communityId      小区id
     * @param user             当前用户
     * @param userRole         当前用户userRole
     * @return
     */
    List<CBuildingSelectListVO> selectList(@Param("communityId")String communityId, @Param("user")Sysopt user, @Param("userRole")int userRole);
}
